package com.ibeeking.found.file.service.common.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;

/**
 * @author ibeeking
 * @version 1.0
 * @description: CommonFileVO
 * @date 2022/1/12 14:41
 */
@Data
public class CommonFileVO implements Serializable {
    private static final long serialVersionUID = -1L;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    /**
     * 文件id
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    public Long commonFileId;

    /**
     * 用户文件id
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    public Long userFileId;

//    @Column(columnDefinition="int(2) comment '文件权限'")
//    public Integer filePermission;
}
